<?php

require_once('config/main.php');
require_once(PATH_LIBS . 'Autoloader.class.php');
$autoloader = new Autoloader();
$autoloader->addNamespace('controllers', PATH_CONTROLLERS);
$autoloader->addNamespace('models', PATH_MODELS);
$autoloader->addNamespace('libs', PATH_LIBS);
$autoloader->register();
Dispatcher::run();

?>